package com.permission.design.model;

import com.server.meta.MyAnnotation;
import com.solution.framework.model.BaseBean;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: dream
 * Date: 14-4-27
 * Time: 下午12:59
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "t_p_role_resource")
@MyAnnotation(comments = "角色资源")
public class PRoleResource extends BaseBean implements java.io.Serializable {
    @MyAnnotation(comments = "归属角色", relation = "ManyToOne")
    private PRole pRole;
    @MyAnnotation(comments = "归属资源", relation = "ManyToOne")
    private PResource pResource;
}
